<%@ page import="com.walkingfiles.registry.Document" %>

<div class="fieldcontain">
	<label for="number">
		<g:message code="document.number.label" default="Number"/>		
	</label>
	<g:textField name="number" value="${params?.number}"/>
</div>

<div class="fieldcontain">
	<label for="date_from">
		<g:message code="document.date.label" default="Date" />		
	</label>	
	<g:datePicker name="date_from" precision="day" value="${params?.date_from ? params.date_from : new Date().minus(15)}"/>
	<label for="date_from" style="margin-left: 1em; width: auto;">
	<g:message code="default.toLabel.label" default="To" />
	</label>
	<g:datePicker name="date_to" precision="day" value="${params?.date_to ? params.date_to : new Date()}"/>
</div>

